package com.brillilab.domain.vo.method;

import com.brillilab.domain.vo.kit.ReagentInstructionVo;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author wuzhiyu
 * @Title: MethodRelateReagentVo
 * @ProjectName brill_lab
 * @Description: TODO
 * @date 2019/4/2613:56
 */
@Data
public class MethodRelateReagentVo {
    private Long id;
    //试剂关联标签
    private String uuid;
    //全局试剂id
    private Long globalReagentId;

    private Long reagentId;

    private String reagentName;
    private Long kitId;

    private String kitName;
    //1kit2reagent
    private Integer type;

    private BigDecimal amount = BigDecimal.ZERO;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String unit;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<ReagentInstructionVo> instructions;

    public MethodRelateReagentVo() {
    }

    public MethodRelateReagentVo(Long id, String uuid, Long globalReagentId, Long reagentId, String reagentName,Long kitId,String kitName,Integer type, BigDecimal amount) {
        this.id = id;
        this.uuid = uuid;
        this.globalReagentId = globalReagentId;
        this.reagentId = reagentId;
        this.reagentName = reagentName;
        this.amount = amount;
        this.kitId=kitId;
        this.kitName = kitName;
        this.type=type;
    }
}
